#ifndef __BTL_FINGERPRINT_FIFO_H__
#define __BTL_FINGERPRINT_FIFO_H__

#include "btl_config.h"

#define FIFO_BUFSIZE 512

typedef struct FIFOType {
    unsigned char* cBuf;
    unsigned int cBufSize;
    unsigned int cWIdx;
    unsigned int cRIdx;

    unsigned char (*read)(unsigned char* pcData);
    unsigned char (*write)(unsigned char cData);
} fifo_t;

// void fifo_init(fifo_t* pRiv, unsigned char* pBuf, unsigned int buf_size);
// unsigned char fifo_write(fifo_t* pRiv, unsigned char cData);
// unsigned char fifo_read(fifo_t* pRiv, unsigned char* pcData);

fifo_t* fifo_info(void);

#endif /* __BTL_FINGERPRINT_FIFO_H__ */
